﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TankIt.Models
{
    public abstract class Table : ITable
    {
        public Guid TableID { get; set; }
        public int TotalSeats { get; set; }
        public bool AllowEmptySeats { get; set; }
        public int DealerPosition { get; set; }
        
        protected Table(int TotalSeats, bool AllowEmptySeats = true)
        {
            this.TableID = Guid.NewGuid();
            this.TotalSeats = TotalSeats;
            this.AddSeats();            
        }

        public abstract void AddSeats();
        

        //public virtual void SeatPlayers(List<Player> Players);

        public abstract void Deal();

    }
}